package com.nmgdz.bigdata.service;

import com.nmgdz.bigdata.entity.User;

import java.util.List;


public interface UserService {
    //根据年龄查询用户
    List<User> queryByAge(int age);

    //保存用户
    User save(User user);

    //根据主键删除用户
    void deletUserById(int id);

    //根据主键查询
    User queryById(int id);
}
